#ifndef ADDBOOKMARKPROXYMODEL_H
#define ADDBOOKMARKPROXYMODEL_H

#include <QSortFilterProxyModel>

/*
    Proxy model that filters out the bookmarks so only the folders
    are left behind.  Used in the add bookmark dialog combobox.
*/
class AddBookmarkProxyModel : public QSortFilterProxyModel
{
    Q_OBJECT
public:
    AddBookmarkProxyModel(QObject * parent = 0);
    int columnCount(const QModelIndex & parent = QModelIndex()) const;

protected:
    bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
};

#endif // ADDBOOKMARKPROXYMODEL_H
